accelgroup: Small documentation updates
authorMatthias Clasen <mclasen@redhat.com>
Mon, 6 Apr 2020 05:48:37 +0000 (01:48 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 6 Apr 2020 20:32:03 +0000 (16:32 -0400)
Mention GtkShortcutTrigger, and remove references
to <Release>.

gtk/gtkaccelgroup.c

index 86f3a50621729b889b61466c4d0e2b8a518484a3..0cf685c2d82b1c848052f5b01a3347cddc3632f1 100644 (file)
  *
  * We have various utility functions to parse and generate
  * textual representations of keyboard accelerators.
+ *
+ * If you want to set up keyboard accelerators for widgets,
+ * #GtkShortcutTrigger is probably more convenient than the
+ * functions in this section.
  */
 
 
@@ -494,8 +498,7 @@ out:
  *     modifier mask, %NULL
  *
  * Parses a string representing an accelerator. The format looks like
- * “<Control>a” or “<Shift><Alt>F1” or “<Release>z” (the last one is
- * for key release).
+ * “<Control>a” or “<Shift><Alt>F1”.
  *
  * The parser is fairly liberal and allows lower or upper case, and also
  * abbreviations such as “<Ctl>” and “<Ctrl>”. Key names are parsed using